﻿<Windows:AbstractRibbonGroupBox x:Class="PefStudio.Windows.LLRibbonGroupBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:Windows="clr-namespace:PefStudio.Windows;assembly=PefStudio.Ribbon" xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent" xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:Windows1="clr-namespace:PefStudio.Windows" mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Icon="Images\Default.png" Fluent:KeyTip.Keys="FG" IsLauncherVisible="False" x:Name="groupLL">
    <Fluent:ComboBox IsEditable="False" InputWidth="150" Header="Test" ItemsSource="{Binding FontsData}">
        <Fluent:ComboBox.ItemTemplate>
            <DataTemplate>
                <TextBlock Text="{Binding}" FontFamily="{Binding}"/>
            </DataTemplate>
        </Fluent:ComboBox.ItemTemplate>
    </Fluent:ComboBox>
    <Fluent:ComboBox IsEditable="False" InputWidth="150" Header="Test" ItemsSource="{Binding FontsData}">
        <Fluent:ComboBox.ItemTemplate>
            <DataTemplate>
                <TextBlock Text="{Binding}" FontFamily="{Binding}"/>
            </DataTemplate>
        </Fluent:ComboBox.ItemTemplate>
    </Fluent:ComboBox>
    <Fluent:ComboBox Name="FilterComboBox" IsReadOnly="True" Fluent:KeyTip.Keys="H" SelectedIndex="0">
        <System:String>Show All</System:String>
        <System:String>Read-only</System:String>
        <System:String>Writeable</System:String>
    </Fluent:ComboBox>
    <Fluent:InRibbonGallery x:Name="inRibbonGallery" Icon="pack://application:,,,/Fluent;component/Themes/Office2010/Images/WarningSmall.png" Header="Split" Fluent:KeyTip.Keys="S" GroupBy="Tag" ResizeMode="Both" MaxItemsInRow="6" MinItemsInRow="2" ItemWidth="40" ItemHeight="55" MinItemsInDropDownRow="5">
        <Fluent:InRibbonGallery.Filters>
            <Fluent:GalleryGroupFilter Title="All" Groups="Group1,Group2" x:Name="galleryFilterAll2"/>
            <Fluent:GalleryGroupFilter Title="Group1" Groups="Group1"/>
            <Fluent:GalleryGroupFilter Title="Group2" Groups="Group2"/>
        </Fluent:InRibbonGallery.Filters>

        <TextBlock Tag="Group1">1</TextBlock>
        <TextBlock Tag="Group1">2</TextBlock>
        <TextBlock Tag="Group1">3</TextBlock>
        <TextBlock Tag="Group1">4</TextBlock>
        <TextBlock Tag="Group1">5</TextBlock>
        <TextBlock Tag="Group1">6</TextBlock>
        <TextBlock Tag="Group2">1</TextBlock>
        <TextBlock Tag="Group2">2</TextBlock>
        <TextBlock Tag="Group2">3</TextBlock>
    </Fluent:InRibbonGallery>
    <Fluent:Button Icon="Images\GrowFont.png" LargeIcon="Images\GrowFont.png" Header="Enlarge" Click="OnEnlargeClick"/>
    <Fluent:Button Icon="Images\ShrinkFont.png" LargeIcon="Images\ShrinkFont.png" Header="Reduce" Click="OnReduceClick"/>
    <Fluent:Button Icon="Images\Box.png" LargeIcon="Images\Box.png" Header="Cmd" Command="{x:Static Windows1:PasteRibbonSplitButton.CustomRoutedCommand}"/>
</Windows:AbstractRibbonGroupBox>